package org.keyyond.ms.commonservice.service;

import java.util.List;

import org.keyyond.ms.commonservice.model.FDFBBimsSysMessage;

public interface MsSysMessageService {

	public String addMessageInSite(FDFBBimsSysMessage record);
	
	public List<FDFBBimsSysMessage> selectMessagesByUseridAndStatus(String username, String status, String messageType);
	
	public int updateRecordsBySeqno(FDFBBimsSysMessage record);
	
	public FDFBBimsSysMessage selectByPrimaryKey(String seqno);
	
	/**
	 * 将指定种类的消息全部置为已读
	 * @param username
	 * @param messageType
	 * @return
	 */
	public int updateRecordsStatusToReaded(String username, String messageType);
}
